queue a redraw for the full width of the row, not just the width we got
authorKristian Rietveld <kris@gtk.org>
Fri, 26 May 2006 00:25:44 +0000 (00:25 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Fri, 26 May 2006 00:25:44 +0000 (00:25 +0000)
2006-05-26  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
for the full width of the row, not just the width we got allocated.
(Fixes #333284, reported by Benjamin Berg).

ChangeLog
ChangeLog.pre-2-10
gtk/gtktreeview.c

index 9849194f4e83e3b9838a134bd6def2a44442a2bc..f8a50a6077255363ffeda176b02a2d3773dc7c0a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-05-26  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
+       for the full width of the row, not just the width we got allocated.
+       (Fixes #333284, reported by Benjamin Berg).
+
 2006-05-26  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): set dy to
index 9849194f4e83e3b9838a134bd6def2a44442a2bc..f8a50a6077255363ffeda176b02a2d3773dc7c0a 100644 (file)
@@ -1,3 +1,9 @@
+2006-05-26  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
+       for the full width of the row, not just the width we got allocated.
+       (Fixes #333284, reported by Benjamin Berg).
+
 2006-05-26  Kristian Rietveld  <kris@gtk.org>
 
        * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): set dy to
index 5e00ccbaee0b23a3e8472cb18eb238f304d7b22e..df7404153312b22015c00af6885cefbedc40cd57 100644 (file)
@@ -8533,7 +8533,7 @@ gtk_tree_view_queue_draw_arrow (GtkTreeView      *tree_view,
     return;
 
   rect.x = 0;
-  rect.width = MAX (tree_view->priv->expander_size, GTK_WIDGET (tree_view)->allocation.width);
+  rect.width = MAX (tree_view->priv->expander_size, tree_view->priv->width);
 
   rect.y = BACKGROUND_FIRST_PIXEL (tree_view, tree, node);
   rect.height = ROW_HEIGHT (tree_view, BACKGROUND_HEIGHT (node));